package com.dgut.service.background.service;

import com.dgut.service.background.dao.AdminDao;
import com.dgut.service.background.entity.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminService {
    @Autowired
    private AdminDao adminDao;

    public Admin findById(int adminId){
        return adminDao.findByAdminId(adminId);
    }
}
